<?php
error_reporting(7);
file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/tl3_notify.txt',print_r($_REQUEST,true),FILE_APPEND);
// exit;
$_GET['act']	= 'payment';
$_GET['op']		= 'notify';
$_GET['payment_code'] = 'tl3';
$_GET['extra_common_param'] = 'real_order';

//赋值，方便后面合并使用支付宝验证方法
$_GET['out_trade_no'] = $_POST['out_trade_no'] = $_POST['outtrxid'];
$_GET['extra_common_param'] = $_POST['extra_common_param'] = 'real_order';
$_GET['trade_no'] = $_POST['trade_no'] = $_POST['trxid'];


//$_GET['out_trade_no'] = $_POST['out_trade_no'] = $oinfo['pay_sn'];


require_once(dirname(__FILE__).'/../../../index.php');
